{% extends "base.html" %}

{% block title %}profiles - {{block.super}}{% endblock %}

{% block submenu %}
<a href="/profiles/" class="{% active request '^/profiles/((?P<order_by>(displayname|username))/)?$' %}" >Overview</a>
{% endblock %}

{% block content %}
<h1>Profiles</h1>
{% if object_list %}
<p id="sorting-criteria">
order by:
<a href="/profiles/displayname/" class="{% active request '^/profiles/((displayname)/)?$' %}" >Display Name</a> &nbsp;
<a href="/profiles/username/" class="{% active request '^/profiles/username/$' %}" >Username</a> &nbsp;
<a href="/profiles/snippets/" class="{% active request '^/profiles/snippets/$' %}" >Submitted Snippets</a>
</p>
{% endif %}
{% block section_content %}
{% endblock %}
{% endblock %}